import server from "@/http";
//注册接口
export const regist = data =>{
    return server({
        url:'/api/regist',
        method:'post',
        data
    })
}
//登录接口
export const login = data =>{
    return server({
        url:'/api/login',
        method:'post',
        data
    })
}